﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OgilvyOne.UKNow.Mobile.Utilities
{
    public class DateTimeFormatter
    {
        public static string FormatDate(DateTime dateTime)
        {
            return dateTime.ToString("yyyy/MM/dd");
        }

        public static string FormatDateTime(DateTime dateTime)
        {
            return dateTime.ToString("yyyy/MM/dd HH:mm:ss");
        }
    }
}
